package com.wangx1n.boobey.entity.words;

import java.util.List;

/**
 * @author wangxin
 * @create 2020-06-12 16:55
 */
public class Word {
    private Integer wid;
    private String word;
    private Phonetic phonetic;
    private Speech speech;
    private String explain;
    private List<Example> examples;

    @Override
    public String toString() {
        return "Word{" +
                "wid=" + wid +
                ", word='" + word + '\'' +
                ", phonetic=" + phonetic +
                ", speech=" + speech +
                ", explain='" + explain + '\'' +
                ", examples=" + examples +
                '}';
    }

    public Integer getWid() {
        return wid;
    }

    public void setWid(Integer wid) {
        this.wid = wid;
    }

    public String getWord() {
        return word;
    }

    public void setWord(String word) {
        this.word = word;
    }

    public Phonetic getPhonetic() {
        return phonetic;
    }

    public void setPhonetic(Phonetic phonetic) {
        this.phonetic = phonetic;
    }

    public Speech getSpeech() {
        return speech;
    }

    public void setSpeech(Speech speech) {
        this.speech = speech;
    }

    public String getExplain() {
        return explain;
    }

    public void setExplain(String explain) {
        this.explain = explain;
    }

    public List<Example> getExamples() {
        return examples;
    }

    public void setExamples(List<Example> examples) {
        this.examples = examples;
    }
}
